<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/common/common_taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>梦网工具本</title>
<jsp:include page="/WEB-INF/pages/include/head.jsp"></jsp:include>
<link href="/css/code.css" rel="stylesheet" type="text/css" />
<link href="/css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/diaryshow.js"></script>
</head>
<body class="off-nav">
	<jsp:include page="/WEB-INF/pages/fc/include/nav.jsp"></jsp:include>
	<div id="main-div">
		<div class="main-left-list-title">
			<c:if test="${diary.isShare eq 1 }"><i class="cus-star" title="已分享"></i></c:if>
			<c:if test="${diary.isTop eq 1 }"><img src="/image/top.gif" title="已置顶"/></c:if>
			 ${diary.title }
		</div>
		<div class="main-left-list-info">
			<fmt:formatDate value="${diary.publishTime }" type="both"/>
			　|　天气：${diary.weather }　|　${diary.readCount } Views　|　Author： ${loginUser.get("username") }
			　|　<a href="/diary/toUpdate/${diary.id }">编辑</a>　|　<a href="javascript:void(0);" id="layer-delete-btn" path="/diary/delete/${diary.id }">删除</a>
			　|　<c:if test="${diary.isTop eq 0 }"><a href="/diary/top/${diary.id }">置顶</a></c:if><c:if test="${diary.isTop eq 1 }"><a href="/diary/notop/${diary.id }">取消置顶</a></c:if>
		</div>
		<div class="main-left-list-abstract">
			<div class="look-photo">
				<img src="${diary.lookPhoto }" width="100px" height="100px"/>
			</div>
			<div class="abstract">
				${diary.note }
			</div>
		</div>
		<div class="main-left-show-content">
			<div class="panel panel-info">
				<div class="panel-heading"><span style="font-size: 16px;font-weight: bolder;">${diary.title }</span>
					<span class="pull-right"><fmt:formatDate value="${diary.publishTime }" type="both"/>　｜　天气：${diary.weather }</span>
				</div>
				<div class="panel-body">
					${diary.content }
				</div>
			</div>
		</div>
	</div>
	<jsp:include page="/WEB-INF/pages/include/copyright.jsp"></jsp:include>
</body>

</html>
